<#include "../inc/layout.html"/>
<@layout title=(selfNav.name)!''>
<#include "../inc/pageHeader.html"/>
<div class="w1240">
    <div class="clear">
    </div>
    <div id="ContentPlaceHolder1_div3" class="fc">
        <ul>
            <#if page?? && page.list??>
                <#list page.list as p >
            <li><a href="/article/view/${p.id}" target="_blank">
                <img src="${p.img!}" alt="" title="${p.title!}" width="280" height="158" />
                <p><#if p.title?length gt 15>${p.title?substring(0,13)}...<#else>${p.title!}</#if></p>
            </a></li>
                </#list>
            </#if>
        </ul>
        <div class="page">
            <div  id="ContentPlaceHolder1_divpage" style="float:right;"></div>
        </div>
    </div>
</div>
<div style="clear: both">
</div>
<script>
    $(function(){
        laypage({
            cont: 'ContentPlaceHolder1_divpage',
            pages:${page.totalPage!1},
            curr:${page.pageNumber!1},
            jump: function (obj, first) {
                if (!first) {
                    window.location.href="/article/imgPage/${p1}-"+obj.curr;
                }
            }
        });
    });
</script>
</@layout>